package com.taoym.voucher.xcx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @coder taoym
 * @datetime 2021/9/22 15:31
 * @desc
 */
@Data
@TableName(value = "xcx_activity")
public class XcxActivity implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动编号
     */
    @TableField(value = "act_id")
    private Integer actId;

    /**
     * 活动名称
     */
    @TableField(value = "act_name")
    private String actName;

    /**
     * 活动标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 活动平台
     */
    @TableField(value = "platform")
    private Integer platform;

    /**
     * 活动图片
     */
    @TableField(value = "image")
    private String image;

    /**
     * 活动图标
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 是否为主活动 只在美团和饿了么中生效 别的地方暂时用不到
     */
    @TableField(value = "main_act")
    private Integer mainAct;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;
}